home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
science
/
sm32a.zip
/
SYMBMATH.H12
< prev
next >
Wrap
Text File
|
1993-11-07
|
490b
|
18 lines
3.3.2 Evaluation Statements
The evaluation statement has the format:
expression
SymbMath evaluates any expression which in a line and gives
the value of the expression. e.g.
IN: 3 + 4
OUT: 7 # the value of 3+4
IN: d(x^6, x)
OUT: 6 x^5 # the value of d(x^6, x)
IN: subs(last, x = 1) # evaluate the last output when x = 1.
OUT: 6
The last output can be saved to a variable for the later use
by the built-in variable "last", e.g. f:=last.